<?php
require_once __DIR__ . '/lib/BYTokenClient.php';

$token = 'b74fe86faf233cefbdeddfc8d0161ca1';//请填入后获取的access_token
$client = new BYTokenClient($token);

$method = 'byai.openapi.seatinfo.get';//要调用的api名称
$api_version = '1.0.0';//要调用的api版本号

$my_params = [
    'companyId' => '1',
];

echo '<pre>';
var_dump(
    $client->post($method, $api_version, $my_params)
);
echo '</pre>';
